// index.js
Page({
    data: {
        active: 1,
        isLogin:false
    },
    onClickLeft() {
        wx.showToast({ title: '点击返回', icon: 'none' });
    },
    onClickRight() {
        wx.showToast({ title: '点击按钮', icon: 'none' });
    },
    toLogin(){
        wx.navigateTo({
          url: '/pages/safety/login',
        })
    }

})
